package msg

import (
	"context"
	"git.mycaigou.com/gfyx/micro-gfyx-api/infrastructure/dto/base"
)

type MsgRepositoryIface interface {
	// 新增或更新消息
	//MsgSave(ctx context.Context, msgObj *base.MsgItem) (int64, error)
	//// 删除消息
	//MsgDelete(ctx context.Context, param *base.MsgDeleteParams) (int64, error)
	// 消息列表
	MsgList(ctx context.Context, param *base.MsgListParam) (*base.MsgListData, error)
	MsgSetReaded(ctx context.Context, param *base.MsgSetReadedParam) (int64, error)
	// 导入消息数据
	//MsgImport(ctx context.Context) error
}
